package main;
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Eingabe {
	public static int leseInt() {
		int i = -1;
		try {
			BufferedReader in = new BufferedReader(new InputStreamReader(
					System.in));
			String s = in.readLine();
			i = Integer.parseInt(s);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return i;
	}

	public static String leseString() {
		String s = "";
		try {
			BufferedReader in = new BufferedReader(new InputStreamReader(
					System.in));
			s = in.readLine();
		} catch (Exception e) {
			e.printStackTrace();
		}
		return s;
	}
	
	public static double leseDouble() {
		double d = 0.0;
		try {
			BufferedReader in = new BufferedReader(new InputStreamReader(
					System.in));
			String s = in.readLine();
			d  = Double.parseDouble(s);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return d;
	}
}
